# coding=utf-8
while True:
    try:
        a = input()
        a = list(a)
        b = ''
        up = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U',
              'V', 'W', 'X', 'Y', 'Z']
        for i in a:
            if i == 'Z':
                b += 'a'
                continue
            if i in up:
                index = up.index(i)
                b += up[index + 1].lower()
            if i in ['a', 'b', 'c']:
                b += '2'
            if i in ['d', 'e', 'f']:
                b += '3'
            if i in ['g', 'h', 'i']:
                b += '4'
            if i in ['j', 'k', 'l']:
                b += '5'
            if i in ['m', 'n', 'o']:
                b += '6'
            if i in ['p', 'q', 'r', 's']:
                b += '7'
            if i in ['t', 'u', 'v']:
                b += '8'
            if i in ['w', 'x', 'y', 'z']:
                b += '9'
            if i in ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']:
                b += i
        print(b)
    except:
        break
